package haida.pym_system.site.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import haida.pym_system.site.pojo.User;
import com.baomidou.mybatisplus.extension.service.IService;
import haida.pym_system.site.pojo.Vo;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author 大龙
 * @since 2020-09-28
 */
public interface IUserService extends IService<User> {
    User findUserName(String username);

    User findUserByID(int id);

    User login(User user);

    int registerUser(User user);

    int updateUser(User user);


    List<User> getAllUser();

    Vo<User> queryUserForPage(String content,int current,int size);

    int deleteUser(int id);

    int setUserState(int userID,int setV);




}
